package com.zy.factorymethod2;


import com.zy.bean.ICourse;
import com.zy.bean.JavaCourse;

public class JavaCourseFactory implements ICourseFactory {

    @Override
    public ICourse create() {
        return new JavaCourse();
    }

//
////    public Iterator<E> iterator() {
////        return new ArrayList.Itr();
////    }
//
//    public Iterator<E> iterator() {
//        return listIterator();
//    }
}
